package com.parenting.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UpdateStockRequest对象", description="修改库存")
public class UpdateStockRequest implements Serializable {

     @ApiModelProperty(value = "ID")
     private  String commodityId;
     @ApiModelProperty(value = "商品库存")
     private int stock;
//     @ApiModelProperty(value = "操作类型 类型 1、加库存 2、减库存")
//     private  int type;
}
